namespace S.M.SmartMedical.Domain.DTOs
{
    /// <summary>
    /// 医院院区数据传输对象
    /// 用于API响应中返回院区信息
    /// </summary>
    public class HospitalAreaDto
    {
        /// <summary>
        /// 院区ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 院区名称
        /// </summary>
        public string Name { get; set; } = string.Empty;

        /// <summary>
        /// 院区地址
        /// </summary>
        public string Address { get; set; } = string.Empty;

        /// <summary>
        /// 联系电话
        /// </summary>
        public string? Phone { get; set; }

        /// <summary>
        /// 院区描述
        /// </summary>
        public string? Description { get; set; }

        /// <summary>
        /// 是否支持自助开单
        /// </summary>
        public bool IsSelfServiceEnabled { get; set; }

        /// <summary>
        /// 院区标签列表
        /// </summary>
        public List<string> Tags { get; set; } = new List<string>();

        /// <summary>
        /// 经度
        /// </summary>
        public decimal? Longitude { get; set; }

        /// <summary>
        /// 纬度
        /// </summary>
        public decimal? Latitude { get; set; }

        /// <summary>
        /// 排序顺序
        /// </summary>
        public int SortOrder { get; set; }

        /// <summary>
        /// 距离用户当前位置的距离（公里）
        /// 此字段在查询时动态计算
        /// </summary>
        public decimal? Distance { get; set; }
    }
}